Short:     Fix C='s IEEE lib (ATN: spice users)
Author:    henric@engineering.ucsb.edu
Uploader:  henric@engineering.ucsb.edu
Type:      util/libs

This patch fixes IEEEDPCmp() for mathieeedoubbas.library version 38.2. 
You can check the version of the file you have with "version
libs:mathieeedoubbas.library full file".  It should say 38.2 and give a
date of 24 Jan 92.  The patch should refuse to do anything if the version
is not correct. 

The simplest way to use it is to execute the "FixIEEE" script ("execute
FixIEEE"). 

It attempts to (or, what you should do yourself if you
don't trust it):
1. Make a backup copy of mathieeedoubbas.library
2. Copy mathieeedoubbas.library to the directory where you
   extracted this archive.
3. Type "spatch mathieeedoubbas.library"
4. Copy the file "mathieedoubbas.new" to 
   "sys:libs/mathieeedoubbas.library"

It was brought to my attention that the pz analysis in the IEEE version of
spice3 (spice3f4r1_000.lha) was broken. After no time at all (yeah,
right...), it occured to me that IEEEDPCmp() was the cause of this
problem.  This patch should correct the problem with pz analysis (and it
might resolve other problems too). 

IEEEDPCmp() can give an incorrect answer when both arguments are negative
and the high halves of the arguments are identical. The patch replaces
bmi/bgt with bhi, and it changes the version number in the _file_ to 99.9. 
Apparently, the version number of the library (once it is loaded) is taken
from MathIEEEResource and the revision number is based on whether or not
there is an FPU or not (I _think_ :). 



spatch is Copyright © 1992 SAS Institute, Inc.
